package cn.bluarry.donationuser.service;

import cn.bluarry.donationuser.Respose.UserResponse;
import cn.bluarry.donationuser.Respose.ListUsersResponse;
import cn.bluarry.donationuser.pojo.Donation_User;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

public interface IUserService {
    UserResponse<Donation_User> CreateUser(HttpServletRequest request, String requestid, Date currentdate);
    public boolean checkValid(String UserName);
    ListUsersResponse<Donation_User> ListUsers(HttpServletRequest request, String requestid);
    UserResponse<Donation_User> UpdateUser(HttpServletRequest request, String requestid, Date currentdate);
    UserResponse<Donation_User> DeleteUser(HttpServletRequest request, String requestid);
}
